# Contributor: Jakob Meier <comcloudway@ccw.icu>
# Maintainer: Jakob Meier <comcloudway@ccw.icu>
pkgname=py3-latex2mathml
pkgver=3.76.0
pkgrel=0
pkgdesc="Pure Python library for LaTeX to MathML conversion"
url="https://pypi.org/project/latex2mathml/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="
	py3-gpep517
	py3-poetry-core
	"
subpackages="$pkgname-pyc"
source="https://github.com/roniemartinez/latex2mathml/archive/$pkgver/latex2mathml-$pkgver.tar.gz"
builddir="$srcdir/latex2mathml-$pkgver"
options="!check"

build() {
	gpep517 build-wheel \
		--wheel-dir dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		dist/*.whl
}

sha512sums="
e3e6bfb1e97110a80752f45af35f8574a7e10d77e3c4e61a3b5ebee12470419f4c40bed46fde6e0565fe81ab4fd8ad34597853ede81598cec273d2e13434c21d  latex2mathml-3.76.0.tar.gz
"
